'''
Created on 05/04/2013

@author: tsantana
'''


_page_reference = {
                    'INDEX_PAGE': 'pages/index.html',
                    'INDEX_TEST_PAGE': 'pages/index_test.html',
                  'DUMMY_PAGE': 'pages/dummy.html',
                  'ADD_USER_PAGE': 'pages/add_user.html',
                  'ADD_DEPARTMENT_PAGE': 'pages/add_department.html',
                  'ADD_POSITION_PAGE' : 'pages/add_position.html',
                  'ADD_EMPLOYEE_PAGE' : 'pages/add_employee.html',
                  'DOOR1': 'pages/door1.html',
                  'USERS_PAGE':'pages/users.html',
                  'GET_TEST_PAGE' : 'pages/add_employee.html',
                  'NOT_AUTHORIZED_PAGE': 'pages/not_authorized.html'
                  }


def get_page(pagename):
    
    if not pagename:
        return _page_reference.get('INDEX_PAGE')
    
    return _page_reference.get(pagename)